package com.example.booklist.enums;

public enum LoginEnum {
    UNLOGIN(0),
    SUCCESS(-1),
    FAIL(-2);

    private Integer code; // 0-未登录 -1-登录成功  -2-登录失败

    LoginEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


}
